<?php
echo '
    </div>
    </div>
    <div class="clear"></div>
    <footer id="footer">'.$core->site_name.' '.$core->site_years.'</footer>
</div>
<script type="text/javascript" src="/inc/php/js/jBydlo.js"></script>
<script type="text/javascript" src="/inc/php/js/styleswi.js"></script>
<script type="text/javascript" src="/inc/php/js/highlight.pack.js"></script>
<script type="text/javascript" src="/inc/php/js/iLoad.js"></script>
<script>
        hljs.tabReplace = \'   \';
        hljs.initHighlightingOnLoad();
</script>
</body>
</html>
';

if ($core->debug == false) {
    $mtime = microtime(); 
    $mtime = explode(' ',$mtime); 
    $mtime = $mtime[1] + $mtime[0]; 
    $tend = $mtime; 
    $totaltime = ($tend - $tstart); 
    echo '<br><br>Время генерации: '.round(($totaltime * 1000), 2).' мс<br>';
    echo 'Запросов: '.Db::$queries_count;
}

ob_end_flush();
?>
